package com.enjoyor.soa.traffic.api.service.dubbo.tiom;

import com.enjoyor.soa.traffic.api.dto.tiom.TemplateDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface IDubboTemplateService {

    public ResultPojo select(String id);

    @SuppressWarnings("rawtypes")
    public ResultPojo selectPage(Page page);

    public ResultPojo insert(TemplateDto template, String personName);

    public ResultPojo edit(TemplateDto template, String personName);

    public ResultPojo delete(String id, String personName);

    public ResultPojo check(String token, String sysKey);

}
